package cn.lovefix.org.mapper;
import cn.lovefix.org.domain.Movie;
import cn.lovefix.org.query.queryByname;


import java.util.List;

public interface MovieMapper {
    //查询列表
    List<Movie> findAll();
    //删除用户
    void del(Long mId);
    //修改用户
    void update(Movie user);
    //添加用户
    void add(Movie user);

    //分页展示
    List<Movie> query(queryByname query);
    //查询总条数
    public Integer queryBycount(queryByname query);
}
